package com.hejia.alauda.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;

/**
 * 
 * 基金实体
 *
 *
 * Created by showone on 2015 上午10:46:41.
 *
 * @Copyright: 2015 www.hejiajinrong.com All rights reserved.
 */
public class Fund extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1613659755725227750L;

	@Column(length = 10)
	private String fundCode;// 基金代码

	@Column(length = 20)
	private String fundName;// 基金名称

	@Column
	private BigDecimal annualizedReturn;// 7日年化收益率

	@Column
	private BigDecimal accrual;// 万份收益

	@Column
	private Date releaseTime;// 发布时间

	@Column
	private String salestate;// 申购状态

	@Column
	private String createDay;// 基金创建时间

	@Column
	private Integer buyCount;// 购买人数

	@Column
	private BigDecimal minAmount;// 起点金额

	@Column
	private String type;// 基金类型

	@Column
	private String saleCompany;// 销售公司

	@Column
	private String fundManager;// 基金公司

	@Column
	private BigDecimal scale;// 基金规模

	@Column
	private int outtime;// 取现时间（0、1、2分别代表实时、1天、2天）

	@Column
	private int publish;// 上下架：0下架，1上架，2暂停销售

	@Column
	private String activitys;// 活动ID集合

	public String getFundCode() {
		return fundCode;
	}

	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}

	public String getFundName() {
		return fundName;
	}

	public void setFundName(String fundName) {
		this.fundName = fundName;
	}

	public BigDecimal getAnnualizedReturn() {
		return annualizedReturn;
	}

	public void setAnnualizedReturn(BigDecimal annualizedReturn) {
		this.annualizedReturn = annualizedReturn;
	}

	public BigDecimal getAccrual() {
		return accrual;
	}

	public void setAccrual(BigDecimal accrual) {
		this.accrual = accrual;
	}

	public Date getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}

	public String getSalestate() {
		return salestate;
	}

	public void setSalestate(String salestate) {
		this.salestate = salestate;
	}

	public BigDecimal getMinAmount() {
		return minAmount;
	}

	public void setMinAmount(BigDecimal minAmount) {
		this.minAmount = minAmount;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSaleCompany() {
		return saleCompany;
	}

	public void setSaleCompany(String saleCompany) {
		this.saleCompany = saleCompany;
	}

	public String getFundManager() {
		return fundManager;
	}

	public void setFundManager(String fundManager) {
		this.fundManager = fundManager;
	}

	public BigDecimal getScale() {
		return scale;
	}

	public void setScale(BigDecimal scale) {
		this.scale = scale;
	}

	public int getOuttime() {
		return outtime;
	}

	public void setOuttime(int outtime) {
		this.outtime = outtime;
	}

	public int getPublish() {
		return publish;
	}

	public void setPublish(int publish) {
		this.publish = publish;
	}

	public String getActivitys() {
		return activitys;
	}

	public void setActivitys(String activitys) {
		this.activitys = activitys;
	}

	public String getCreateDay() {
		return createDay;
	}

	public void setCreateDay(String createDay) {
		this.createDay = createDay;
	}

	public Integer getBuyCount() {
		return buyCount;
	}

	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}
}
